/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package transformaciones;

/**
 *
 * @author puche
 */
public class Transformar {
    
    
    public String transformacion1(String aux){char aux2[] = new char[aux.length()];String aux3="";for (int i = 0; i < aux.length(); i++) {aux2 = (aux.toUpperCase()).toCharArray();aux2[i]=(char)(aux2[i]+1);}aux3= aux2.toString();return aux3;}
    public String transformacion2(String aux){String aux2=aux;aux2=aux2.substring(0,aux2.length()-1);aux2.replaceAll(aux2.substring(1,2), aux2.substring(0,1));return aux2;}
    
}
